package demo.vo;

public enum BusinessCode implements ErrorMsg {
    OK("000", "OK"),

    BAD("001", " NOT OK ");

    private String code;
    private String message;

    private BusinessCode(String errCode, String message) {
        this.code = errCode;
        this.message = message;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }

}
